700
How can I change the shape of the task bar

local var_Bar as IBar
local var_Items as IItems

var_Bar := oDCOCX_Exontrol1:Chart:Bars:Copy("Task","T2")
	var_Bar:StartShape := exShapeIconDown1
	var_Bar:StartColor := RGB(255,0,0)
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"T2",SToD("20010102"),SToD("20010104"),nil,nil)
	var_Items:AddBar(var_Items:AddItem("Item 2"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)

699
How can I change the starting shape for all task bars

local var_Bar as IBar
local var_Items as IItems

var_Bar := oDCOCX_Exontrol1:Chart:Bars:[Item,"Task"]
	var_Bar:StartShape := exShapeIconUp1
	var_Bar:StartColor := RGB(255,0,0)
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)

698
How can I change the height of the task bar

local var_Items as IItems

oDCOCX_Exontrol1:Chart:Bars:Copy("Task","T2"):Height := 17
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"T2",SToD("20010102"),SToD("20010104"),nil,nil)
	var_Items:AddBar(var_Items:AddItem("Item 2"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)

697
How can I change the height for all task bars

local var_Items as IItems

oDCOCX_Exontrol1:Chart:Bars:[Item,"Task"]:Height := 17
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)

696
How can I change the color of the task bar

local var_Items as IItems

oDCOCX_Exontrol1:Chart:Bars:Copy("Task","T2"):Color := RGB(255,0,0)
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"T2",SToD("20010102"),SToD("20010104"),nil,nil)
	var_Items:AddBar(var_Items:AddItem("Item 2"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)

695
How can I change the color for all task bars

local var_Items as IItems

oDCOCX_Exontrol1:Chart:Bars:[Item,"Task"]:Color := RGB(255,0,0)
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)

694
How can I change the shape for all task bars

local var_Items as IItems

oDCOCX_Exontrol1:Chart:Bars:[Item,"Task"]:Shape := exShapeSolidDown
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)

693
How can I change the shape of the task bar

local var_Items as IItems

oDCOCX_Exontrol1:Chart:Bars:Copy("Task","T2"):Shape := exShapeThinCenter
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"T2",SToD("20010102"),SToD("20010104"),nil,nil)

692
How can I change the pattern or style for all task bars

local var_Items as IItems

oDCOCX_Exontrol1:Chart:Bars:[Item,"Task"]:Pattern := exPatternFDiagonal
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)

691
How can I change the pattern of the task bar

local var_Items as IItems

oDCOCX_Exontrol1:Chart:Bars:Copy("Task","T2"):Pattern := exPatternFDiagonal
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"T2",SToD("20010102"),SToD("20010104"),nil,nil)

690
How can I add a percent bar in the chart area, so the task bar is splited for non working days or hours

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:Bars:Add("Task%Progress:Split"):Shortcut := "TS"
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"TS",SToD("20010102"),SToD("20010116"),"P1",nil)
	var_Items:[ItemBar,h,"P1",exBarPercent] := 0.14
	var_Items:[ItemBar,h,"P1",exBarShowPercentCaption] := true

689
How can I add a bar in the chart area, so the task bar is splited for non working days or hours

local var_Items as IItems

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:Bars:Add("Task:Split"):Shortcut := "TS"
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Task 1"),"TS",SToD("20010102"),SToD("20010116"),nil,nil)

688
How can I add a split bar in the chart area

local var_Items as IItems

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Task 1"),"Split",SToD("20010102"),SToD("20010106"),nil,nil)

687
How can I add a progress bar in the chart area

local var_Items as IItems

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Task 1"),"Progress",SToD("20010102"),SToD("20010106"),nil,nil)

686
How can I add a milestone bar in the chart area

local var_Items as IItems

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Task 1"),"Milestone",SToD("20010102"),SToD("20010102"),nil,nil)

685
How can I add a summary bar in the chart area

local var_Items as IItems

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Task 1"),"Summary",SToD("20010102"),SToD("20010106"),nil,nil)

684
How can I add a project summary bar in the chart area

local var_Items as IItems

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Task 1"),"Project Summary",SToD("20010102"),SToD("20010106"),nil,nil)

683
How can I add a deadline bar in the chart area

local var_Items as IItems

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Task 1"),"Deadline",SToD("20010102"),SToD("20010102"),nil,nil)

682
How can I add a task bar in the chart area

local var_Items as IItems

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Task 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)

681
How can I assign a picture or an icon to a bar in the chart

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:[HTMLPicture,"p1"] := "c:\exontrol\images\zipdisk.gif"
oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:[ItemHeight,h] := 48
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarCaption] := "<img>p1</img>"
	var_Items:[ItemBar,h,"K1",exBarHAlignCaption] := 2

680
How can I assign a picture or an icon to a bar in the chart

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarCaption] := "<img>1</img>"

679
How can I display or add an anchor or a hyperlink in the link

local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20010101"),SToD("20010103"),"K1",nil)
	var_Items:AddItem("")
	var_Items:AddItem("")
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20010105"),SToD("20010107"),"K2",nil)
	var_Items:AddLink("L1",h1,"K1",h2,"K2")
	var_Items:[Link,"L1",exLinkText] := "just <a1>link</a>"

678
How can I display a picture or an icon on the link

local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20010101"),SToD("20010103"),"K1",nil)
	var_Items:AddItem("")
	var_Items:AddItem("")
	var_Items:AddItem("")
	var_Items:AddItem("")
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20010105"),SToD("20010107"),"K2",nil)
	var_Items:AddLink("L1",h1,"K1",h2,"K2")
	var_Items:[Link,"L1",exLinkText] := "just <img>1</img> link"

677
How can I display a picture or an icon on the link

local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:[HTMLPicture,"pic1"] := "c:\exontrol\images\zipdisk.gif"
oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20010101"),SToD("20010103"),"K1",nil)
	var_Items:AddItem("")
	var_Items:AddItem("")
	var_Items:AddItem("")
	var_Items:AddItem("")
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20010105"),SToD("20010107"),"K2",nil)
	var_Items:AddLink("L1",h1,"K1",h2,"K2")
	var_Items:[Link,"L1",exLinkText] := "<img>pic1</img><br><br>just a link"

676
How can I display some HTML text or caption on link

local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20010101"),SToD("20010103"),"K1",nil)
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20010105"),SToD("20010107"),"K2",nil)
	var_Items:AddLink("L1",h1,"K1",h2,"K2")
	var_Items:[Link,"L1",exLinkText] := "L<b>1</b>"

675
How can I assign a tooltip to a link

local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20010101"),SToD("20010103"),"K1",nil)
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20010105"),SToD("20010107"),"K2",nil)
	var_Items:AddLink("L1",h1,"K1",h2,"K2")
	var_Items:[Link,"L1",exLinkText] := "L<b>1</b>"
	var_Items:[Link,"L1",exLinkToolTip] := "This is a bit of text that's shown when the cursor hovers the link"

674
Can I change the width or the size of the link

local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20010102"),SToD("20010104"),"K1",nil)
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20010105"),SToD("20010107"),"K2",nil)
	var_Items:AddLink("L1",h1,"K1",h2,"K2")
	var_Items:[Link,"L1",exLinkStyle] := 0
	var_Items:[Link,"L1",exLinkWidth] := 2

673
Can I change the style of the link

local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20010102"),SToD("20010104"),"K1",nil)
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20010105"),SToD("20010107"),"K2",nil)
	var_Items:AddLink("L1",h1,"K1",h2,"K2")
	var_Items:[Link,"L1",exLinkStyle] := 4

672
Can I change the color of the link

local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20010102"),SToD("20010104"),"K1",nil)
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20010105"),SToD("20010107"),"K2",nil)
	var_Items:AddLink("L1",h1,"K1",h2,"K2")
	var_Items:[Link,"L1",exLinkColor] := 255

671
Can I change the part of the bar where the link ends

local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20010102"),SToD("20010104"),"K1",nil)
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20010105"),SToD("20010107"),"K2",nil)
	var_Items:AddLink("L1",h1,"K1",h2,"K2")
	var_Items:[Link,"L1",exLinkStartPos] := 1
	var_Items:[Link,"L1",exLinkEndPos] := 1

670
Can I change the part of the bar where the link starts

local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20010102"),SToD("20010104"),"K1",nil)
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20010105"),SToD("20010107"),"K2",nil)
	var_Items:AddLink("L1",h1,"K1",h2,"K2")
	var_Items:[Link,"L1",exLinkStartPos] := 0

669
How can I associate an extra data to a link
local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20010102"),SToD("20010104"),"K1",nil)
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20010105"),SToD("20010107"),"K2",nil)
	var_Items:AddLink("L1",h1,"K1",h2,"K2")
	var_Items:[Link,"L1",exLinkUserData] := "your data"

668
How can I show or hide a specified link
local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20010102"),SToD("20010104"),"K1",nil)
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20010105"),SToD("20010107"),"K2",nil)
	var_Items:AddLink("L1",h1,"K1",h2,"K2")
	var_Items:[Link,"L1",exLinkEndBar] := false

667
How can I get the key of the bar where the link end
local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20010102"),SToD("20010104"),"K1",nil)
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20010105"),SToD("20010107"),"K2",nil)
	var_Items:AddLink("L1",h1,"K1",h2,"K2")
	var_Items:AddItem(var_Items:[Link,"L1",exLinkEndBar])

666
How can I get the key of the bar where the link starts
local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20010102"),SToD("20010104"),"K1",nil)
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20010105"),SToD("20010107"),"K2",nil)
	var_Items:AddLink("L1",h1,"K1",h2,"K2")
	var_Items:AddItem(var_Items:[Link,"L1",exLinkStartBar])

665
How can I get the handle of the item where the link ends
local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20010102"),SToD("20010104"),"K1",nil)
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20010105"),SToD("20010107"),"K2",nil)
	var_Items:AddLink("L1",h1,"K1",h2,"K2")
	var_Items:AddItem(var_Items:[Link,"L1",exLinkEndItem])

664
How can I get the handle of the item where the link starts
local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20010102"),SToD("20010104"),"K1",nil)
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20010105"),SToD("20010107"),"K2",nil)
	var_Items:AddLink("L1",h1,"K1",h2,"K2")
	var_Items:AddItem(var_Items:[Link,"L1",exLinkStartItem])

663
How can I enumerate the links in the chart
local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20010102"),SToD("20010104"),"K1",nil)
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20010105"),SToD("20010107"),"K2",nil)
	var_Items:AddLink("L1",h1,"K1",h2,"K2")
	var_Items:AddLink("L2",h2,"K2",h1,"K1")
	var_Items:AddItem(var_Items:FirstLink)
	var_Items:AddItem(var_Items:[NextLink,var_Items:FirstLink])

662
How can I access the properties and method of the link between two bars
local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20010101"),SToD("20010103"),"K1",nil)
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20010105"),SToD("20010107"),"K2",nil)
	var_Items:AddLink("L1",h1,"K1",h2,"K2")
	var_Items:[Link,"L1",exLinkText] := "L<b>1</b>"

661
How can I remove a link between two bars
local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20010102"),SToD("20010104"),"K1",nil)
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20010105"),SToD("20010107"),"K2",nil)
	var_Items:AddLink("L1",h1,"K1",h2,"K2")
	var_Items:ClearLinks()

660
How can I remove a link between two bars
local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20010102"),SToD("20010104"),"K1",nil)
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20010105"),SToD("20010107"),"K2",nil)
	var_Items:AddLink("L1",h1,"K1",h2,"K2")
	var_Items:RemoveLink("L1")

659
How do I add a link between two bars

local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20010102"),SToD("20010104"),"K1",nil)
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20010105"),SToD("20010107"),"K2",nil)
	var_Items:AddLink("L1",h1,"K1",h2,"K2")

658
How do I ungroup the bars in the chart
local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20010102"),SToD("20010104"),"K1",nil)
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20010105"),SToD("20010107"),"K2",nil)
	var_Items:GroupBars(h1,"K1",true,h2,"K2",true,nil,nil)
	var_Items:GroupBars(h1,"K1",false,h2,"K2",false,nil,nil)
	var_Items:UngroupBars(h1,"K1",h2,"K2")

657
How do I group one or more bars in the chart, so they are moved together
local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20010102"),SToD("20010104"),"K1",nil)
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20010105"),SToD("20010107"),"K2",nil)
	var_Items:GroupBars(h1,"K1",true,h2,"K2",true,nil,nil)
	var_Items:GroupBars(h1,"K1",false,h2,"K2",false,nil,nil)

656
How do I find the number or count of bars in the item
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010101"),SToD("20010102"),"K1",nil)
	var_Items:AddBar(h,"Task",SToD("20010104"),SToD("20010106"),"K2",nil)
	var_Items:[ItemBar,h,"K2",exBarCaption] := var_Items:[ItemBar,h,"<*>",exBarsCount]

655
How can I assign any extra data to a bar in the chart
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarData] := "your data"

654
How can I enable or disable resizing the percent value of a progress bar, at runtime

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Chart:Bars:Add("Task%Progress"):Shortcut := "Percent"
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Percent",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarPercent] := 0.35
	var_Items:[ItemBar,h,"K1",exBarCanResizePercent] := false

653
Is there any way to change the background color for percent value being displayed on the progress bar

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Chart:Bars:Add("Task%Progress"):Shortcut := "Percent"
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Percent",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarPercent] := 0.35
	var_Items:[ItemBar,h,"K1",exBarShowPercentCaption] := true
	var_Items:[ItemBar,h,"K1",exBarPercentCaptionFormat] := "<bgcolor=FF0000> %p%</bgcolor>"

652
Is there any way to change the color for percent value being displayed on the progress bar

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Chart:Bars:Add("Task%Progress"):Shortcut := "Percent"
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Percent",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarPercent] := 0.35
	var_Items:[ItemBar,h,"K1",exBarShowPercentCaption] := true
	var_Items:[ItemBar,h,"K1",exBarPercentCaptionFormat] := "<fgcolor=FF0000>%p%</fgcolor>"

651
Is there any way to change the font for percent value being displayed on the progress bar

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Chart:Bars:Add("Task%Progress"):Shortcut := "Percent"
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Percent",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarPercent] := 0.35
	var_Items:[ItemBar,h,"K1",exBarShowPercentCaption] := true
	var_Items:[ItemBar,h,"K1",exBarPercentCaptionFormat] := "<b><font Tahoma;12>%%p</font></b>"

650
How can I horizontally align the caption / percent of a progress-bar

local var_Bar as IBar
local var_Chart as IChart
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Columns:Add("Task")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:LevelCount := 2
	var_Chart:[PaneWidth,false] := 128
	var_Chart:FirstVisibleDate := SToD("20010101")
	var_Bar := var_Chart:Bars:Add("Task%Progress")
		var_Bar:Shortcut := "Percent"
		var_Bar:[Def,exBarShowPercentCaption] := true
		var_Bar:[Def,exBarPercent] := 1
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Left")
	var_Items:AddBar(h,"Percent",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarAlignPercentCaption] := 0
	h := var_Items:AddItem("Center")
	var_Items:AddBar(h,"Percent",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarAlignPercentCaption] := 1
	h := var_Items:AddItem("Right")
	var_Items:AddBar(h,"Percent",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarAlignPercentCaption] := 2
	h := var_Items:AddItem("Left")
	var_Items:AddBar(h,"Percent",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarAlignPercentCaption] := 0
	var_Items:[ItemBar,h,"K1",exBarPercent] := 0.5
	h := var_Items:AddItem("Center")
	var_Items:AddBar(h,"Percent",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarPercent] := 0.5
	var_Items:[ItemBar,h,"K1",exBarAlignPercentCaption] := 1
	h := var_Items:AddItem("Right")
	var_Items:AddBar(h,"Percent",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarAlignPercentCaption] := 2
	var_Items:[ItemBar,h,"K1",exBarPercent] := 0.5
oDCOCX_Exontrol1:EndUpdate()

649
Is there any way to change the format of the percent being displayed on the progress bar

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Chart:Bars:Add("Task%Progress"):Shortcut := "Percent"
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Percent",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarPercent] := 0.4
	var_Items:[ItemBar,h,"K1",exBarShowPercentCaption] := true
	var_Items:[ItemBar,h,"K1",exBarPercentCaptionFormat] := "<b>%p/100</b>"

648
How can I show or hide the percent value in the progress bar

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Chart:Bars:Add("Task%Progress"):Shortcut := "Percent"
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Percent",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarPercent] := 0.4
	var_Items:[ItemBar,h,"K1",exBarShowPercentCaption] := true

647
How can I change the percent value in a progress bar

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Chart:Bars:Add("Task%Progress"):Shortcut := "Percent"
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Percent",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarPercent] := 0.4

646
How can I add a percent bar

METHOD OCX_Exontrol1BarResize(Item,Key) CLASS MainDialog
	// BarResize event - Occurs when a bar is moved or resized.
	OutputDebugString(String2Psz( AsString(Key) ))
RETURN NIL

local var_Bar as IBar
local var_Chart as IChart
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Columns:Add("Task")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:LevelCount := 2
	var_Chart:FirstVisibleDate := SToD("20010101")
	var_Chart:[PaneWidth,false] := 64
	var_Bar := var_Chart:Bars:Add("Task%Progress")
		var_Bar:Shortcut := "P"
		var_Bar:[Def,exBarShowPercentCaption] := true
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"P",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarPercent] := 0.4
	h := var_Items:AddItem("Task 2")
	var_Items:AddBar(h,"Task%Progress",SToD("20010102"),SToD("20010106"),"K2",nil)
	var_Items:[ItemBar,h,"K2",exBarPercent] := 0.15
oDCOCX_Exontrol1:EndUpdate()

645
How can I fix or lock a specified bar at runtime, in the chart
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarCanResize] := false
	var_Items:[ItemBar,h,"K1",exBarCanMove] := false

644
How can I enabled or disable moving a specified bar at runtime, in the chart
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarCanResize] := false
	var_Items:[ItemBar,h,"K1",exBarCanMove] := false

643
How can I enabled or disable sizing a specified bar at runtime, in the chart
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarCanResize] := false

642
How can I change the key of the bar in the chart
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarKey] := "NewK"
	var_Items:[ItemBar,h,"NewK",exBarCaption] := var_Items:[ItemBar,h,"NewK",exBarKey]

641
Can I add a bar in the chart, using your EBN files

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"",SToD("20010102"),SToD("20010105"),"K1"," EBN ")
	var_Items:[ItemBar,h,"K1",exBarBackColor] := 16777216
	var_Items:AddBar(h,"Task",SToD("20010106"),SToD("20010108"),"K2",nil)

640
How can I change the background color of the bar in the chart

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Chart:Bars:Copy("Task","TaskR"):Color := RGB(255,0,0)
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"TaskR",SToD("20010102"),SToD("20010106"),"K1",nil)

639
How can I change the background color of the bar in the chart

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Chart:ShowNonworkingDates := false
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarBackColor] := 8421504

638
How can I change the background color of the HTML text or caption of the bar in the chart

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarCaption] := "<bgcolor=FF0000> to do </bgcolor>"

637
How can I change the foreground color of the HTML text or caption of the bar in the chart

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010106"),"K1","t<fgcolor=0000FF>o</fgcolor> do")
	var_Items:[ItemBar,h,"K1",exBarForeColor] := 16777215

636
How can I change the foreground color of the HTML text or caption of the bar in the chart

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarCaption] := "<bgcolor=FF0000> to do </bgcolor>"
	var_Items:[ItemBar,h,"K1",exBarForeColor] := 16777215

635
How can I assign a tooltip to a bar in the chart

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010104"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarToolTip] := "This is a bit of text that's displayed when the cursor hovers the bar"

634
How can I vertically align the HTML text or caption of the bar in the chart

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:[ItemHeight,h] := 32
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarCaption] := "<bgcolor=FF0000> to do </bgcolor>"
	var_Items:[ItemBar,h,"K1",exBarVAlignCaption] := 0

633
How can I align the HTML text or caption of the bar in the chart

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarCaption] := "<bgcolor=FF0000> to do </bgcolor>"
	var_Items:[ItemBar,h,"K1",exBarHAlignCaption] := 0

632
How can I assign a text or some HTML caption to a bar in the chart

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarCaption] := " <bgcolor=FF0000>to do</bgcolor> "

631
How can I change the ending date of the bar in the chart
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010104"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarEnd] := SToD("20010106")

630
How can I change the starting date of the bar in the chart
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010104"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarStart] := SToD("20010101")

629
How can I change the style or the name of the bar in the chart

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010104"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarName] := "Progress"

628
How can I access properties and methods of the bar in the chart
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010104"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarName] := "Progress"

627
How can I remove all bars in the item
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010104"),"K1",nil)
	var_Items:ClearBars(h)

626
How can I remove a bar from the chart
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010104"),"K1",nil)
	var_Items:RemoveBar(h,"K1")

625
How can I add a bar and some text inside, in the chart area

local var_Items as IItems

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Task 1"),"Task",SToD("20010102"),SToD("20010106"),nil," to do ")

624
How can I add a bar and some text inside, in the chart area
local var_Items as IItems

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Task 1"),"Task",SToD("20010102"),SToD("20010106"),nil,"<bgcolor=FF0000> to do </bgcolor>")

623
How can I add an anchor or a hyperline in the chart area

local var_Items as IItems

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Task 1"),"",SToD("20010102"),SToD("20010114"),nil,"just a <a1>link</a>")

622
How can I add some text or captions in the chart area

local var_Items as IItems

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Task 1"),"",SToD("20010102"),SToD("20010114"),nil,"just a <b>caption</b>")

621
How can I add a bar in the chart area

local var_Items as IItems

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Task 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)

620
Is there any option to put a picture or an icon to the thumb part of the scroll bar

oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oDCOCX_Exontrol1:[ScrollPartCaption,exHChartScroll,exThumbPart] := "<img>1</img>"
oDCOCX_Exontrol1:[ScrollThumbSize,exHChartScroll] := 24

619
How can I scroll fast the chart, or page by page


oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oDCOCX_Exontrol1:ScrollHeight := 20
oDCOCX_Exontrol1:ScrollButtonWidth := 20
oDCOCX_Exontrol1:AllowChartScrollPage := true
oDCOCX_Exontrol1:[ScrollPartCaption,exHChartScroll,exLeftB5Part] := "<img>1</img>"
oDCOCX_Exontrol1:[ScrollPartCaption,exHChartScroll,exRightB1Part] := "<img>2</img>"

618
How can I scroll fast the chart, or page by page


oDCOCX_Exontrol1:ScrollButtonWidth := 16
oDCOCX_Exontrol1:AllowChartScrollPage := true
oDCOCX_Exontrol1:[ScrollPartCaption,exHChartScroll,exLeftB5Part] := "<<"
oDCOCX_Exontrol1:[ScrollPartCaption,exHChartScroll,exRightB1Part] := ">>"

617
How can I scroll fast the chart, or page by page


oDCOCX_Exontrol1:AllowChartScrollPage := true

616
How can I display years, from 3 to 3
local var_Level as ILevel

oDCOCX_Exontrol1:Chart:UnitWidth := 64
var_Level := oDCOCX_Exontrol1:Chart:[Level,0]
	var_Level:Label := "<%yyyy%>"
	var_Level:Unit := exYear
	var_Level:Count := 3

615
How can I display years
local var_Level as ILevel

oDCOCX_Exontrol1:Chart:UnitWidth := 64
var_Level := oDCOCX_Exontrol1:Chart:[Level,0]
	var_Level:Label := "<%yy%>"
	var_Level:Unit := exYear

614
How can I display years


oDCOCX_Exontrol1:Chart:UnitWidth := 48
oDCOCX_Exontrol1:Chart:[Level,0]:Label := 0

613
How can I display months, from 3 to 3
local var_Level as ILevel

oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:UnitWidth := 64
oDCOCX_Exontrol1:Chart:[Level,0]:Label := 1
var_Level := oDCOCX_Exontrol1:Chart:[Level,1]
	var_Level:Label := "<%mmmm%>"
	var_Level:Unit := exMonth
	var_Level:Count := 3

612
How can I display months
local var_Level as ILevel

oDCOCX_Exontrol1:Chart:UnitWidth := 64
oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:[Level,0]:Label := 1
var_Level := oDCOCX_Exontrol1:Chart:[Level,1]
	var_Level:Label := "<%mmmm%>/<%yy%>"
	var_Level:Unit := exMonth

611
How can I display months


oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:UnitWidth := 64
oDCOCX_Exontrol1:Chart:[Level,0]:Label := 1
oDCOCX_Exontrol1:Chart:[Level,1]:Label := 16

610
How can I display weeks


oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:UnitWidth := 64
oDCOCX_Exontrol1:Chart:[Level,0]:Label := 17
oDCOCX_Exontrol1:Chart:[Level,1]:Label := 256

609
How can I display weeks

oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:[Level,0]:Label := 17
oDCOCX_Exontrol1:Chart:[Level,1]:Label := "<%ww%>"

608
How can I display days, from 2 to 2
local var_Level as ILevel

oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:[Level,0]:Label := 256
var_Level := oDCOCX_Exontrol1:Chart:[Level,1]
	var_Level:Label := "<%dd%>"
	var_Level:Count := 2

607
How can I display days


oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:[Level,0]:Label := 256
oDCOCX_Exontrol1:Chart:[Level,1]:Label := "<%dd%>"

606
How can I display days


oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:[Level,0]:Label := 256
oDCOCX_Exontrol1:Chart:[Level,1]:Label := 4096

605
How can I display hours, from 6 to 6

local var_Level as ILevel

oDCOCX_Exontrol1:Chart:FirstVisibleDate := "00:00"
oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:[Level,0]:Label := 4096
var_Level := oDCOCX_Exontrol1:Chart:[Level,1]
	var_Level:Label := "<%hh%>"
	var_Level:Count := 6

604
How can I display hours


oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:[Level,0]:Label := 4096
oDCOCX_Exontrol1:Chart:[Level,1]:Label := "<%hh%>"

603
How can I display hours


oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:[Level,0]:Label := 4096
oDCOCX_Exontrol1:Chart:[Level,1]:Label := 65536

602
How can I display minutes, from 15 to 15

local var_Level as ILevel

oDCOCX_Exontrol1:Chart:FirstVisibleDate := "00:00"
oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:[Level,0]:Label := 65536
var_Level := oDCOCX_Exontrol1:Chart:[Level,1]
	var_Level:Label := "<%nn%>"
	var_Level:Count := 15

601
How can I display minutes


oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:[Level,0]:Label := 65536
oDCOCX_Exontrol1:Chart:[Level,1]:Label := "<%nn%>"